package com.lhy.goods.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lhy.domain.Brand;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author lhy
 * @description 针对表【goods_brand(品牌表)】的数据库操作Mapper
 * @createDate 2024-07-26 20:11:41
 * @Entity com.lhy.domain.Brand
 */
@Mapper
public interface BrandMapper extends BaseMapper<Brand> {
    @MapKey("brandName")
    List<Map<String,String>> findListByCategoryName(@Param("name") String categoryName);
}




